home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d17 / wrap.arc / WRAP.DOC < prev   
Text File  |  1986-03-06  |  3KB  |  66 lines

  1. This is a god send for printing out doc files.  The main advantage is
  2. formatting the doc file to skip over perforations.  I seem to always 
  3. having a line of text cut in two when I seperate the pages.  Use it 
  4. as is(it does the job as is on my epson printer)  or If you insist
  5. on hacking then the source code and patch points are in the wrap.c
  6. file.      
  7.           Thanks to OKKUG where I found this gem.
  8.                                              
  9.                                              -Andrew Putnam
  10.  
  11.                                 WRAP
  12.                                 ----
  13.  
  14.         Printing Utility
  15.  
  16. This utility will print any number of files with newlines put
  17. in at the appropriate column.  The default column is 80.  Form feeds are
  18. also optional by specifying a pagelength.  The default is no form feeds.
  19.  
  20. OPTIONS:
  21.         -wN Sets the page width to N characters wide.           Default = 80
  22.         -pN Sets the page length to N lines long.               Default = 60
  23.             If N = 0 then no formfeeds are inserted.
  24.         -h Print the filename and page number at the top of each page.
  25.         -tN Expand tab characters to every N'th column.
  26.         -dstring Will print string in the date field of each heading.  The
  27.                  heading option is automatically specified with the -d option.
  28.                  NOTE: String must not contain blanks.  It is reasonable
  29.                        to enter the date as    SEPT/3/82---2:00pm
  30.         -lN Start printing at line N.
  31.         -iN Will indent each line (including headings) N spaces.
  32.         -bN Will set the file buffer size to N bytes.
  33.  
  34.  
  35. BUGS:   - Sometimes an extra formfeed is inserted at the end of the run?
  36.         - Tabs can make the line extend past the left margin
  37.         - A carriage return not expected to do a line feed
  38.         - Headings must all fit on a line
  39.         - It should be made recusive so all characters that expand (ie tabs)
  40.           are correctly handled
  41.  
  42.  
  43.  
  44.                   Patch Locations for WRAP switches
  45.                Version 1.4     Sept/21/82
  46.  
  47.        Parameter        Wrap    Patch         Default Value
  48.                 Argument   Location       Decimal  Hex Bytes
  49.  
  50. Buffer Size             -b4096     0103        4096     00 10
  51. Page Width             -w80     0105          80     50 00
  52. Page Length             -p60     0107          60     3C 00
  53. Heading flag (Default: off)  -h         0109           0     00 00
  54. Tabs flag    (Default: off)  -t         010B           0     00 00
  55. Tab Size             -t8     011D           8     08 00
  56. Start line number         -l0     011F           0     00 00
  57. Indent column             -i0     0121           0     00 00
  58.  
  59. The values of these parameters can be altered by patching the WRAP
  60. object file.  Use DDT to modify the desired options, exit with ^C, then
  61.  
  62. type:        SAVE 22 WRAP.COM
  63.  
  64. to save the modified object file.
  65.  
  66.